package com.hoshiicloud.user.entity.organization;

import com.hoshiicloud.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author:campchen
 * @Date:Created in 下午 06:27 2019/8/20
 * @PACKAGENAME com.hoshiicloud.user.entity.organization
 * @Description
 */
@ApiModel(value="平台经营类别")
@Data
public class PlatOrganizationCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "id",value = "主键id",example = "")
    private Long id;

    @ApiModelProperty(name = "platformId",value = "平台ID",example = "")
    private Long platformId;

    @ApiModelProperty(name = "categoryId1",value = "平台经营类目 1级别",example = "")
    private Long categoryId1;

    @ApiModelProperty(name = "categoryId2",value = "平台经营类目 2级别",example = "")
    private Long categoryId2;

    @ApiModelProperty(name = "categoryId3",value = "平台经营类目 3级别",example = "")
    private Long categoryId3;

    @ApiModelProperty(name = "weight",value = "权重",example = "")
    private Integer weight;

    @ApiModelProperty(name = "ordered",value = "排序",example = "")
    private Long ordered;

    @ApiModelProperty(name = "enabled",value = "是否可用（0-否 1-是）",example = "")
    private Integer enabled;

    @ApiModelProperty(name = "deleted",value = "是否删除 0-已删除 1-未删除",example = "")
    private Integer deleted;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createdTime", value = "创建时间", required = true, dataType = "java.util.Date", example = "2019-05-04 10:08:35", hidden = true)
    private LocalDateTime createdTime;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "createdBy", value = "创建人", required = true, dataType = "java.lang.String", example = "admin", hidden = true)
    private String createdBy;

    /**
     * 修改时间
     */
    @ApiModelProperty(name = "updatedTime", value = "修改时间", required = true, dataType = "java.util.Date", example = "2019-05-04 10:08:35", hidden = true)
    private LocalDateTime updatedTime;

    /**
     * 修改人
     */
    @ApiModelProperty(name = "updatedBy", value = "修改人", required = true, dataType = "java.lang.String", example = "admin", hidden = true)
    private String updatedBy;
}
